package com.haiya.infrastructure.db.mapper;

import com.haiya.db.mapper.SuperMapper;
import com.haiya.infrastructure.db.dataobject.CargoDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CargoMapper extends SuperMapper<CargoDO> {
    int countByCustomer(@Param("phone") String phone);
}
